Developer Guide (API Reference) > HTML5 Viewers > Prizm Mobile Viewer Parameters |
The Prizm Mobile Viewer offers viewing and zoom features on a mobile device. The viewer is a jQuery Plugin that is comprised of JavaScript, HTML and CSS.
The following example shows how to configure the parameters:
CS.NET Example |
Copy Code
|
---|---|
<script type="text/javascript"> var viewingSessionId = '<%=HttpUtility.JavaScriptStringEncode(viewingSessionId)%>'; $(document).ready(function () { var pluginOptions1 = { documentID: viewingSessionId, annotationID: “Annotation Filename”, imageHandlerUrl: "../pcc.ashx", pageLayout: “vertical”, viewMode: “equalWidthPages” }; $("#imageGearPageView").pccMobileViewer(pluginOptions1); }); </script> |
Parameter | Data Type | Description |
pageLayout | String |
Specifies the orientation of the viewer. The options are:
|
viewMode | String |
Specifies how documents fit in the viewer. The options are:
|